<html xmlns:h='http://java.sun.com/jsf/html'
      xmlns:p='http://primefaces.org/ui'
      xmlns:z='http://savanti.com.bo/ui'
      xmlns:cc='http://java.sun.com/jsf/composite' style='color: inherit'>

<cc:interface>

<cc:attribute name='id'/>

<cc:attribute name='c'/>

<cc:attribute name='t'/>

<cc:attribute name='v'/>

<cc:attribute name='r' default='0'/>

<cc:attribute name='w' default='70'/>

<cc:attribute name='tooltip'/>

</cc:interface>


<cc:implementation>

<h:panelGrid columns='1' width='#{cc.attrs.w}' styleClass='boxImage align-text-center' rendered='#{cc.attrs.c != null}'>

  <p:graphicImage alt='Sin Icono' title='#{cc.attrs.tooltip}' value='http://#{facesContext.externalContext.requestServerName}/savanti/material/#{cc.attrs.c}.png' width='60' height='55'/>


  <h:panelGrid columns='2'>

  <h:outputText value='#{cc.attrs.t}' style="font-weight: bold;color: #c2bbae"/>

  <z:outputN v='#{cc.attrs.v}' style='width: 80px; font-weight: bold' r='#{cc.attrs.r}'/>

  </h:panelGrid>

</h:panelGrid>

</cc:implementation>

</html>
